//
//  UILabel+TZExtension.m
//  TZOCExtension
//
//  Created by Tim.Z on 2017/1/3.
//  Copyright © 2017年 Tim.Z. All rights reserved.
//

#import "UILabel+TZExtension.h"

@implementation UILabel (TZExtension)


- (void)tz_setFont:(NSInteger)fontOfSize{
    self.font = [UIFont systemFontOfSize:fontOfSize];
}

- (void)setTz_Font:(NSInteger)tz_Font{
    self.font = [UIFont systemFontOfSize:tz_Font];
}

+(void)tz_setupLabelArr:(NSArray<UILabel *> *)labelArr withTextArr:(NSArray<NSString *> *)textArr{
    [labelArr enumerateObjectsUsingBlock:^(UILabel * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
        obj.text = textArr[idx];
    }];
}

@end
